body{
    background: #eee;
}
.wrap{
    width:1200px;
    margin:0 auto;
}
.header{
    width: 1349px;
}
.header-top{
    height:30px;
}
.header-bg-top{
    background: deepskyblue;
    height:30px;
}
.header-top-left{
    height:30px;
    float:left;
}
.header-top-left .li{
    float:left;
    line-height: 30px;
    color:#fff;
    margin-left:30px;
    font-size: 12px;
}
.header-top-left .li a{
    color: #ffffff;
    font-size: 12px;
}
.header-top-left .li a:hover{
    text-decoration: underline;

}
.header-top-left .login:before{
    float: left;
    display: block;
    margin-top: 7px;
    width: 15px;
    height: 15px;
    content:'';
    margin-right: 4px;
    background-image: url("../../images/denglumima.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.header-top-left .regi:before{
    float: left;
    display: block;
    width: 15px;
    height: 15px;
    content:'';
    margin-top: 7px;
    margin-right: 4px;
    background-image: url("../../images/zhucedl.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.header-top-right{
    height:30px;
    float:right;
}
.header-bannerinfo{
    width:450px;
    height:30px;
    margin-left:100px;
    line-height: 30px;
    float: left;
    overflow: hidden;
}
.header-bannerinfo:before{
    float: left;
    display: block;
    width: 15px;
    height: 15px;
    content:'';
    margin-top: 7px;
    background-image: url("../../images/laba.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.header-bannerinfo ul{
    position: relative;
    margin-left: 20px;
}
.header-bannerinfo ul li{
    position: absolute;
    display: block;
    display: none;
}
.header-bannerinfo ul li.on{
    display: block;
}
.header-bannerinfo ul li a{
    color:#fff;
    line-height: 20px;
    font-size: 12px;
}
.header-top-right{
}

.header-top-right ul li{
    float:left;
    margin-left:20px;
}
.header-top-right ul li a.github{
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    background-image: url(../../images/github.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.header-top-right ul li a.github:hover{
    background-image: url(../../images/github2.png);
}
.header-top-right ul li a{
    color:#fff;
    line-height: 30px;
    font-size: 12px;
}
.header-top-right ul li a:hover{
    text-decoration: underline;
}
.header-nav{
    width: 1200px;
    height: 70px;
    margin: 0 auto;

    overflow: hidden;
    position: relative;
}
.header-nav .logo{
    width: 200px;
    height:70px;
    background: #000;
    float: left;
}
.header-nav ul{
    float: left;
    margin-left: 290px;
}
.header-nav ul li{
    float: left;
    line-height:60px;
    margin-left:30px;
    font-size:18px;
    font-family: '幼圆';

}
.header-nav ul li.on{
    border-bottom: 5px solid deepskyblue;
}
.header-nav ul li.search{
    width: 70px;
    height: 61px;
    background-image: url(../../images/cg-app-search.png);
    background-size: 20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
}
.header-nav ul li a{
    line-height:60px;
    font-size:18px;
}
.header-banner{
   margin-top: 10px;
    height: 400px;
    background:#aaa;
}
.search-box{
    position: absolute;
    top:0;
    right:50px;
    width: 950px;
    height: 70px;
    z-index: 9999;
    display: none;
}
#searchCon{
    display: block;
    width: 100%;
    height: 100%;
   color: #000;
    text-align: left;
    text-indent: 10px;
    background: #fff;
}
.banner-box{
    width: 100%;
    height: 400px;
}
.content{
    margin-top:25px;
}
.content .left{
    width:820px;
    float:left;
}
.content .right{
    width:360px;
    float:left;
    margin-left: 20px;
}
/*文章列表*/
.article-tuijian{
    width:820px;
    height: 120px;
    border:1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    position: relative;
}
.article-tuijian:before{
    display: block;
    position: absolute;
    content: '';
    background-image: url(../../images/tuijian.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    top:0;
    left: 0;
    width: 40px;
    height: 40px;
}
.article-list-content{
    margin:20px;
}
.article-list-style{
    line-height: 30px;
    color:red;
    font-size:20px;
}
.article-zaiyao{
    margin-top:6px;
    text-indent: 20px;
    line-height:1.4em;
    /* 3 times the line-height to show 3 lines */
    height:4.2em;
    color:#4d4d4d;
    overflow:hidden;
    position:relative;
}
.article-zaiyao::after {
    content:"...";
    font-weight:bold;
    position:absolute;
    bottom:0;
    right:0;
    padding:0 20px 1px 45px;
    background:url(http://css88.b0.upaiyun.com/css88/2014/09/ellipsis_bg.png) repeat-y;
}.article-list{
    width: 820px;
    height: 200px;
    border:1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    margin:20px 0px;
    transition:box-shadow 0.5s;
}
.article-list:hover{
    border: 1px solid #aaa;
    box-shadow: 4px 4px 10px  1px #aaaaaa;
}
.article-list-box{
    margin:20px;

}

.article-list-box .left-img-box{
    width: 220px;
    height:150px;
    overflow: hidden;
    float: left;

}
.article-list-box .left-img-con{
    width: 100%;
    height: 100%;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
   -moz-transition: 0.5s;
}
.article-list-box .left-img-con:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.article-list-box .right-box {
    width: 540px;
    height: 150px;
    margin-left: 20px;
    float: left;
}
.article-list-box .article-title{
    font-size:24px;
    color:#4d4d4d;
}
.article-type{
    margin-top:18px;
    width: 100%;
    height: 20px;
}
.pink{color:pink;}
.greenyellow{color:greenyellow;}
.ccc{color:#ccc;}
.article-type p{
    float:left;
}
.article-type p:nth-child(2){margin-left:10px;}
.article-type p:nth-child(3){margin-left:10px;}
.article-type p:nth-child(4){margin-left:10px;}
.article-type p:nth-child(5){margin-left:10px;}
.article-xinxi{
    position: relative;
}
.article-xinxi p{float: left;margin-top:14px;}
.article-xinxi p:before{
    display: block;
    width: 15px;
    height:15px;
    content: '';
    margin-right: 5px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    float: left;
    margin-top: 0px;
}
.article-xinxi p:nth-child(2){margin-left:20px}
.article-xinxi p:nth-child(3){margin-left:20px}
.article-xinxi p:nth-child(1):before{
    background-image: url(../../images/time.png);
}
.article-xinxi p:nth-child(2):before{
    background-image: url(../../images/read.png);
}
.article-xinxi p:nth-child(3):before{
    background-image: url(../../images/pinglun.png);
}
.article-xq{
    position: absolute;
    right: -20px;
    width: 75px;
    height: 30px;
    background: #cccccc;
    top:2px;
    line-height: 30px;
    text-align: center;
    color:#fff;
}
.article-xq:hover{
    background: deeppink;
}
/*rightbox*/
  .right .right-box{
        margin-bottom: 20px;
        border:1px solid #ccc;
        border-radius: 4px;
        background: #fff;
    }
.right .bolgjs{
        height: 340px;
        position: relative;
    }
.right .article-hot-list{

}
.right  .article-fenlei{

}
.bolgjs_box_title{
    width: 90px;
    height:30px;
    background: red;
    line-height: 30px;
    text-align: center;
    color: #fff;
    position: absolute;
    top:0;
    left:15px;
}

.right  .bolgjs_box_img{
    width: 330px;
    height: 170px;
    margin:10px auto;
    background-image: url(../../images/jianjie_img.png);
    background-size: 100% 100%;
}
.bolgjs_box_con{
    width: 330px;
    margin: 10px auto;
    line-height: 30px;
    color: #000;
    text-align: left;
}
.bolgjs_box_con a:hover{text-decoration: underline;color:deeppink;}
.list-box{position: relative;border-bottom: 1px solid #ccc;width: 100%;height:45px;}
.article-hot-list-top-icon{
    position: absolute;
    width: 20px;
    height: 20px;
    top:50%;
    margin-top: -10px;
    left:10px;
    background: url(../../images/menu.png);
    background-size: 100% 100%;
}
.article-hot-list-top-hangicon{
    position: absolute;
    width: 115px;
    height: 2px;
    bottom:-1px;
    left:0px;
    background: blue;
    background-size: 100% 100%;

}
.article-hot-list-top-shuicon{
    position: absolute;
    width: 1px;
    height: 38px;
    top:0px;
    left:45px;
    background: #ccc;
    background-size: 100% 100%;
}
.article-hot-list-top-type{
    width: 200px;
    height: 45px;
    line-height: 45px;
    margin-left: 50px;
    font-size: 16px;
}
.article-hot-list-con{
    width:330px;
    margin:0px 15px;
}
.article-hot-list-con ul li{
    margin:15px 0px;
    width: 100%;
    height: 20px;
}
.article-hot-list-con-list-leftNum{
    width:20px;
    height:20px;
    background: #cccccc;
    color:#fff;
    line-height: 20px;
    text-align: center;
    float:left;
}
.article-hot-list-con ul li a{
    line-height: 20px;
    float:left;
    display: block;
    width: 300px;
    font-size:12px;
    margin-left:10px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    color: #585050;
}
.article-hot-list-con ul li:hover{

    animation:TextMoveRight 0.8s;
    -moz-animation:TextMoveRight 0.8s; /* Firefox */
    -webkit-animation:TextMoveRight 0.8s; /* Safari and Chrome */
    -o-animation:TextMoveRight 0.5s; /* Opera */
    animation-fill-mode:forwards;
    -moz-animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
    -o-animation-fill-mode:forwards;

}
.article-hot-list-con ul li:hover a{
    color:deeppink;
}
.article-hot-list-con ul li a:hover{
    text-decoration: underline;
}
.article-hot-list-con-list-leftNum{ border-radius: 4px;}
.article-hot-list-con ul li:nth-of-type(1) p{
    background: #da5e2f;
}
.article-hot-list-con ul li:nth-of-type(2) p{
    background: green;
}
.article-hot-list-con ul li:nth-of-type(3) p{
    background: deepskyblue;
}
.article-fenlei-box{
    width: 330px;
    margin: 13px 13px;
}
.article-fenlei-box ul li{
    width: 106px;
    height: 30px;
    float: left;
    background: #eeeeee;
    margin: 2px;
}
.article-fenlei-box ul li:nth-of-type(1){
    background: lightcoral;
}
.article-fenlei-box ul li:nth-of-type(1) a{
    color: #fff;
}
.article-fenlei-box ul li:nth-of-type(2){
    background: lightblue;
}
.article-fenlei-box ul li:nth-of-type(2) a{
    color: #fff;
}
.article-fenlei-box ul li:nth-of-type(3){
     background: lightgreen;
 }
.article-fenlei-box ul li:nth-of-type(3) a{
    color: #fff;
}
.article-fenlei-box ul li a{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 30px;
    text-align: left;
    text-indent: 10px;
    color: #5e5e5e;
    font-size:12px;
    transition: color 0.5s;
    -webkit-transition: color 0.5s;
    -o-transition: color 0.5s;
    -moz-transition: color 0.5s;

}
.article-fenlei-box ul li a:hover{
    text-decoration: underline;
    color: #fff;
    background: deepskyblue;
}
.liyyan_main_list{
    margin:15px;
    border-bottom:1px dotted #ccc;
}
.liyyan_main_list:nth-of-type(6){
    border:none;
}
.liyyan_main_list_left_tou{
    width: 40px;
    height: 40px;
    float: left;
    border-radius: 50%;
    overflow: hidden;
}
.liyyan_main_list_right_box{
    float: left;
    width: 270px;
    margin-left:15px;
}
.liyyan_main_list_right_box p{
    font-size:12px;
    margin-bottom: 10px;
}
.user_nick{
    color: lightblue;
}
.liyyan_main_list_right_con{
    line-height: 15px;
}
.laiyuan_pin a{color: pink}
.laiyuan_pin a:hover{
    text-decoration: underline;
    animation:TextMoveRight 0.8s;
    -moz-animation:TextMoveRight 0.8s; /* Firefox */
    -webkit-animation:TextMoveRight 0.8s; /* Safari and Chrome */
    -o-animation:TextMoveRight 0.5s; /* Opera */
    animation-fill-mode:forwards;
    -moz-animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
    -o-animation-fill-mode:forwards;
}
.wailian_box{
    margin:15px;

}
.wailian_box_top{
    margin:0px 15px 15px 15px;
    width: 300px;
    height: 190px;
    background:url(../../images/wailian.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.wailian_box ul li{
    float: left;
    min-width:150px;
    max:160px;
    overflow: hidden;

}
.wailian_box ul li a{
    margin-left: 10px;
    line-height: 35px;
    float: left;
    color:#5e5e5e;
}
.wailian_box ul li a:hover{
    text-decoration: underline;
    animation:TextpaddingMoveRight 0.8s;
    -moz-animation:TextpaddingMoveRight 0.8s; /* Firefox */
    -webkit-animation:TextpaddingMoveRight 0.8s; /* Safari and Chrome */
    -o-animation:TextpaddingMoveRight 0.5s; /* Opera */
    animation-fill-mode:forwards;
    -moz-animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
    -o-animation-fill-mode:forwards;
    color: pink;
}
.wailian_box ul li a:before{
    display: block;
    width: 15px;
    float: left;
    height: 15px;
    margin-top: 10px;
    margin-right: 12px;
    content: '';
    background-image:url(../../images/lianjie.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.webtongji_box{
    margin: 10px;
}
.webtongji_box p{
    float: left;
    color: #5e5e5e;
    margin-left: 30px;
    line-height: 30px;
}
/*轮播*/
.slider, .slider .slider-img {
    overflow: hidden;
    height: 400px;
}
.slider {
    width: 1200px;
    position: relative;
}
.slider:hover .slider-btn {
    color: #fff;
    text-shadow: 0 0 5px #666;
}
.slider .slider-img {
    width: 12000px;
    position: relative;
}
.slider .slider-img .slider-img-ul {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}
.slider .slider-img .slider-img-ul li {
    float: left;
}
.slider .slider-img .slider-img-ul li img {
    width: 1200px;
    height: 100%;
}
.slider .slider-dot ul {
    position: absolute;
    right: 50px;
    bottom: 30px;
}
.slider .slider-dot ul li {
    cursor: pointer;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid #fff;
    float: left;
    margin-left: 10px;
}
.slider .slider-dot ul li.active, .slider .slider-dot ul li:hover {
    background: #fff;
}
.slider .slider-btn {
    position: absolute;
    width: 50px;
    height: 100px;
    top: 50%;
    line-height: 100px;
    text-align: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    font-family: '黑体';
    color: rgba(255, 255, 255, 0);
}
.slider .slider-btn:hover {
    background: rgba(125, 125, 125, .3);
}
.slider .slider-btn.slider-btn-left {
    left: 0;
    margin-top: -50px;
}
.slider .slider-btn.slider-btn-right {
    right: 0;
    margin-top: -50px;
}
/*轮播*/
/*平滑滚动到顶部*/
.scroll-top{
    position: fixed;
    width: 34px;
    height: 45px;
    right:0px;
    top:600px;
    background-image: url(../../images/huojian1.png);
    background-size: 100% 100%;
    display: none;
}
.scroll-top:hover{
    background-image: url(../../images/huojian2.png);
    background-size: 100% 100%;
}
